package com.lovo.csc.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
 * 供货商品表
 */
@Getter
@Setter
@NoArgsConstructor
@TableName("supplyproduct")
public class SupplyProductBean {
    @TableId(value = "pk_spid",type = IdType.AUTO)
    private long spid;
    @TableField("sp_idNum")
    private String idNum;
    @TableField("fk_oldNum")
    private String oldNum;
    @TableField("sp_productName")
    private String productName;
    @TableField("sp_type")
    private String type;
    @TableField("sp_num")
    private int num;
    @TableField("sp_buyPrice")
    private float buyPrice;
    @TableField("sp_totalPrice")
    private float totalPrice;

}
